IF [%1]==[] (
  set APPURL="http://localhost/"
) else (
  set APPURL="%1"
)
@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH%

stsadm -o retractsolution -name SharePointing.Features.MinimalPublishing.wsp -immediate
stsadm -o execadmsvcjobs

stsadm -o deletesolution -name SharePointing.Features.MinimalPublishing.wsp -override
stsadm -o execadmsvcjobs